package com.hula.onion.book.server.spider.platforms.shanyidai;

import org.springframework.stereotype.Component;

/**
 * Description:
 * Create Date:2018/1/18 14:18
 *
 * @author shan
 * @version 1.0
 */
@Component
public class ShanYiDaiResponseEntity<T> {

    /**
     * 错误信息
     */
    private String message;

    /**
     * 返回码
     */
    private String code;

    /**
     * 是否成功标识
     */
    private Boolean status;

    /**
     * 成功时存储的数据
     */
    private T data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}